package com.laowang.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 收费系统对象 tb_charge_system
 *
 * @author laowang
 * @date 2023-02-14
 */
@NoArgsConstructor
@Data
public class TbChargeSystem implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 缴费项目
     */
    @Excel(name = "缴费项目")
    @ApiModelProperty(value = "缴费项目", required = false)
    private String payItem;

    /**
     * 学校
     */
    @Excel(name = "学校")
    @ApiModelProperty(value = "学校", required = false)
    private String school;

    /**
     * 年级
     */
    @Excel(name = "年级")
    @ApiModelProperty(value = "年级", required = false)
    private String grade;

    /** 班级 */
    @Excel(name = "班级")
    @ApiModelProperty(value = "班级", required = false)
    private String classes;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    @ApiModelProperty(value = "姓名", required = false)
    private String name;

    /**
     * 电话
     */
    @Excel(name = "电话")
    @ApiModelProperty(value = "电话", required = false)
    private String phone;

    /**
     * 收费单位
     */
    @Excel(name = "收费单位")
    @ApiModelProperty(value = "收费单位", required = false)
    private String chargeUnit;

    @ApiModelProperty(value = "金额", required = false)
    private BigDecimal amount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Integer type;
}
